package com.carryduck.util;

import java.util.HashMap;
import java.util.Map;

public class JavaCache {

    private static Map<String, Object> map = new HashMap<String, Object>();

    public static Object getValue(String key) {
        Object obj = map.get(key);
        return obj;
    }

    public static void putValue(String key,Object value) {
        map.put(key,value);
    }

    public static void remove(String key) {
        map.remove(key);
    }

}
